# coding=utf-8
import re
import datetime

def set_schema_error_killed(line):
    tmp_line = line.replace("#", "").replace(": ", ":").replace("  ", " ").replace("  ", " ")
    result = re.findall(":([\S]+)", tmp_line)
    print len(result)
    if len(result) == 2:
        print "[0,0,0]"
    else:
        print result

def set_login_user_ip(line):
    tmp_line = line.replace("#", "").replace(": ", ":").replace("  ", " ").replace("  ", " ")
    result = re.findall("\[([\S]+)\]", tmp_line)
    print result

if __name__ == '__main__':
    print datetime.datetime(2017, 8, 1, 4, 46, 41)